﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;


namespace DataTier.Entities
{
    /// <summary>
    /// Композитный тип данных, возвращающий объединенный объект Консолидированный счет
    /// </summary>
    [Serializable]
    public class ConsolidatedAccountEntity
    {
        ConsolidatedAccount сonsolidatedAccount;
        List<ConsolidatedAccountSpec> specification;
        List<int> expendBillIds;
        State state;
        JuridicalPerson juridicalPerson;
        int id;

        
        public ConsolidatedAccount ConsolidatedAccount
        {
            get { return сonsolidatedAccount; }
            set { сonsolidatedAccount = value; }
        }

        
        public List<int> ExpendBillIds
        {
            get { return expendBillIds; }
            set { expendBillIds = value; }
        }

        
        public List<ConsolidatedAccountSpec> Specification
        {
            get { return specification; }
            set { specification = value; }
        }

        
        public State State
        {
            get { return state; }
            set { state = value; }
        }

        
        public JuridicalPerson JuridicalPerson
        {
            get { return juridicalPerson; }
            set { juridicalPerson = value; }
        }

        
        public int Id
        {
            get { return id; }
            set { id = value; }
        }

    }
}
